import { post, get, patch, put, deletefn, postByFormData } from '../common/http'

const page = p => get("/env/page",p);
const list = p => get("/env/list", p);
const envAdd = p =>post("/env/add",p);
const getDetails = p => get("/env/getDetails",p);
const envUpdate = p =>post("/env/update",p);
const envDelete =p =>deletefn("/env/delete",p);
export default {
  page,
  envAdd,
  getDetails,
  envUpdate,
  envDelete,
  list
}
